<style>
    input[type="submit"]{background: url('/images/member/login.gif') no-repeat scroll 0 0 transparent;border: 0 none;color: #FFFFFF;cursor: pointer;font-size: 18px;height: 33px;text-indent: -10000px;width: 140px;}
</style>
<div class="content_bai">
	<div class="login">
    	<div class="login_s">
        	<div class="enter" style="float: left;padding-left: 180px;padding-bottom: 50px;width: 450px;">
                    <form method="post" id="login" action="/admini/Managelogin/index">
                        <h1>登录悠奇网</h1>
                        <div class="wrong" <?php if($this->flag!='nopass') echo ' style="display:none;"';?>>用户名或密码错误</div>
                        <ul>
                            <li><input type="text" name="username" id="username" value="" class="gray"></li>
                            <li><input type="password" name="password" id="password" value="" class="gray"></li>
                        </ul>
                        <div class="submit" style="text-align: center;">
                                <input name="submit" type="submit" value="登 录" onmouseover="this.className='btn'" onmouseout="this.className=''" />
                        </div>
                    </form>
                </div>
            <div class="zhuce" style="float: right;width: 300px;padding-top: 45px;">

            </div>
            <div class="l_help">
            	
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
function browserRedirect() { 
var sUserAgent= navigator.userAgent.toLowerCase(); 
var bIsIpad= sUserAgent.match(/ipad/i) == "ipad"; 
var bIsIphoneOs= sUserAgent.match(/iphone os/i) == "iphone os"; 
var bIsMidp= sUserAgent.match(/midp/i) == "midp"; 
var bIsUc7= sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4"; 
var bIsUc= sUserAgent.match(/ucweb/i) == "ucweb"; 
var bIsAndroid= sUserAgent.match(/android/i) == "android"; 
var bIsCE= sUserAgent.match(/windows ce/i) == "windows ce"; 
var bIsWM= sUserAgent.match(/windows mobile/i) == "windows mobile"; 

if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) { 
    location.href = "/admini/managelogin/tablet";
}
} 
window.onload=function(){browserRedirect();}
</script>